<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm" method="post"  enctype="multipart/form-data" >
														                                                                <div class="form-group">
								<label class="col-sm-3 control-label">原料：</label>
								<div class="col-sm-4">
									<select id="materialId" name="materialId" class="form-control">
									</select>
								</div>
								<div class="col-sm-4 input-group">
									<input type="text" id="materialName" class="form-control" placeholder="搜索原材料名称">
									<span class="input-group-btn"> <button type="button" class="btn btn-primary" onclick="getMaterialByUpdate(null)">搜索
									</button> </span>
								</div>
							</div>
														                                                                <!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">原料生产日期(出厂日期)：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="dateOfProduction" name="dateOfProduction" class="form-control" type="date">-->
								<!--</div>-->
							<!--</div>-->
														                                                                <div class="form-group">	
								<label class="col-sm-3 control-label">供应商：</label>
								<div class="col-sm-4">
									<select id="supplierId" name="supplierId" class="form-control">
									</select>
								</div>
								<div class="col-sm-4 input-group">
									<input type="text" id="supplierName" class="form-control" placeholder="搜索供应商">
									<span class="input-group-btn"> <button type="button" class="btn btn-primary" onclick="getSupplierByUpdate(null)">搜索
									</button> </span>
								</div>
							</div>
														                                                                <div class="form-group">	
								<label class="col-sm-3 control-label">批次(采用时间加3位数字如20190514001)：</label>
								<div class="col-sm-8">
									<input id="purchaseNo" name="purchaseNo" class="form-control" type="text">
								</div>
							</div>
														                                                                <div class="form-group">	
								<label class="col-sm-3 control-label">采购人：</label>
								<div class="col-sm-8">
									<input id="purchaser" name="purchaser" class="form-control" type="text">
								</div>
							</div>
														                                                                <!--<div class="form-group">	-->
								<!--<label class="col-sm-3 control-label">检测图片：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="file" name="file" class="form-control" type="file">-->
								<!--</div>-->
							<!--</div>-->
							<!--<div class="form-group">-->
								<!--<label class="col-sm-3 control-label">检测图片：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<div id="picDiv" name="picDiv">-->

									<!--</div>-->
									<!--<input id="reportImg" name="reportImg" class="form-control" type="hidden">-->
								<!--</div>-->
							<!--</div>-->
							<div class="form-group">
								<label class="col-sm-3 control-label">数量：</label>
								<div class="col-sm-8">
									<input id="number" name="number" class="form-control" type="text">
								</div>
							</div>
							<!--<div class="form-group">-->
								<!--<label class="col-sm-3 control-label">入库标识(原料名称+批次)：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="identifier" name="identifier" class="form-control" type="text">-->
								<!--</div>-->
							<!--</div>-->
							<div class="form-group">
								<label class="col-sm-3 control-label">入库时间：</label>
								<div class="col-sm-8">
									<input id="inStockDate" name="inStockDate" class="form-control" type="date">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">仓库：</label>
								<div class="col-sm-8">
									<input id="stockName" name="stockName" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="mark" name="mark" class="form-control" type="text">
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<!--<script type="text/javascript">-->
		<!--var E = window.wangEditor-->
		<!--var picDiv = new E('#picDiv')-->
		<!--picDiv.customConfig.menus = [-->
			<!--// 'head',  // 标题-->
			<!--// 'bold',  // 粗体-->
			<!--// 'fontSize',  // 字号-->
			<!--// 'fontName',  // 字体-->
			<!--// 'italic',  // 斜体-->
			<!--// 'underline',  // 下划线-->
			<!--// 'strikeThrough',  // 删除线-->
			<!--// 'foreColor',  // 文字颜色-->
			<!--// 'backColor',  // 背景颜色-->
			<!--// 'link',  // 插入链接-->
			<!--// 'list',  // 列表-->
			<!--// 'justify',  // 对齐方式-->
<!--//            'quote',  // 引用-->
			<!--'image',  // 插入图片-->
			<!--// 'table',  // 表格-->
		<!--]-->
		<!--picDiv.customConfig.uploadImgServer = getProjectName()+'/common/sysFile/uploadOss'-->
		<!--picDiv.create()-->
		<!--function setReportImg() {-->
			<!--var log = picDiv.txt.html()-->
			<!--$("#reportImg").val(log)-->
		<!--}-->
	<!--</script>-->
	<script type="text/javascript" th:src="@{/js/appjs/material/purchase/add.js}" src="/js/appjs/material/purchase/add.js">
	</script>
</body>
</html>
